Skip to content

move session to python/sglang/srt/session#23144

Merged
hnyls2002 merged 3 commits intomainfrom
lsyin/session-subfolder
Apr 20, 2026
Merged

move session to python/sglang/srt/session#23144
hnyls2002 merged 3 commits intomainfrom
lsyin/session-subfolder

Conversation

@hnyls2002
Copy link
Copy Markdown
Collaborator

Move SessionAwareCache and SessionController out of mem_cache/ and managers/ into a dedicated session/ package. Pure rename + import updates; no behavior change.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the codebase by moving session-related components, including SessionController and SessionAwareCache, from sglang.srt.managers and sglang.srt.mem_cache into a new dedicated sglang.srt.session package. All corresponding import statements across the scheduler, managers, and unit tests have been updated to reflect this reorganization. I have no feedback to provide as there are no review comments.

@hnyls2002
Copy link
Copy Markdown
Collaborator Author

hnyls2002 commented Apr 19, 2026

/tag-and-rerun-ci

@hnyls2002 hnyls2002 merged commit d3ce664 into main Apr 20, 2026
130 of 156 checks passed
@hnyls2002 hnyls2002 deleted the lsyin/session-subfolder branch April 20, 2026 00:34
zhangying098 pushed a commit to zhangying098/sglang that referenced this pull request Apr 23, 2026
kyx1999 pushed a commit to KMSorSMS/sglang that referenced this pull request Apr 27, 2026
@hnyls2002 hnyls2002 mentioned this pull request Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant